package com.caoji.service.impl;


import com.caoji.entity.User;
import com.caoji.mapper.UserMapper;
import com.caoji.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author caoji
 * @since 2020-11-26
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User findone(String name) {
        return baseMapper.selectById(name);
    }
}
